//
//  AppDelegate.swift
//  SK-微博
//
//  Created by 姜胜凯 on 15/10/8.
//  Copyright © 2015年 姜胜凯. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        setUpAppearance()
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        //window?.backgroundColor = UIColor.redColor()
        window?.rootViewController = MainViewController()
        window?.makeKeyAndVisible()
        return true
        
    }

    private func setUpAppearance(){
        UINavigationBar.appearance().tintColor = UIColor.orangeColor()
        
        UITabBar.appearance().tintColor = UIColor.orangeColor()
        
    }

}

